﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HotelManagementClient.ViewModel
{
    public class ChatUser
    {
        public int Id { get; set; } //ID
        public int userType { get; set; }    //用户类型 
        public string userName { get; set; }    //用户名 
        public string nickName { get; set; }    //真实姓名
        public string avatar { get; set; }      //头像

        public ChatUser(int userType, string userName, string nickName, string avatar)
        {
            this.userType = userType;
            this.userName = userName;
            this.nickName = nickName;
            this.avatar = avatar;
        }

        public ChatUser(int id, int userType, string userName, string nickName, string avatar)
        {
            Id = id;
            this.userType = userType;
            this.userName = userName;
            this.nickName = nickName;
            this.avatar = avatar;
        }

        public ChatUser(string userName, string nickName, string avatar)
        {
            this.userName = userName;
            this.nickName = nickName;
            this.avatar = avatar;
        }

        public ChatUser()
        {
        }
    }
}
